package io.github.talelin.sleeve.service.Impl;

import io.github.talelin.sleeve.entity.Banner;
import io.github.talelin.sleeve.mapper.BannerMapper;
import io.github.talelin.sleeve.service.TestSleeveService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TestSleeveServiceImpl implements TestSleeveService {
    @Resource
    private BannerMapper bannerMapper;
    @Override
    public List<Banner> getBanners() {
        return  bannerMapper.getAllBanners();
    }

}
